<p><a href="<?php echo $this->url(
	array(
		'controller' => 'entrepot',
		'action'     => 'add'
	),
	'default',
	true) ?>">添加仓库信息</a></p>
   
仓库信息一览: <br />
<table class="infotable">
	<thead>
		<tr>
			<td>名称</td>
			<td>地址</td>
			<td>联系人</td>
			<td>电话</td>
			<td>操作</td>
		</tr>
	</thead>
	<?php foreach ($this->entries as $entry): ?>
		<tr>
		<td><?php echo $this->escape($entry->get_name()) ?></td>
		<td><?php echo $this->escape($entry->get_address()) ?></td>
		<td><?php echo $this->escape($entry->get_contact()) ?></td>
		<td><?php echo $this->escape($entry->get_phone()) ?></td>
		<td>
			<a href="<?php echo $this->url(
				array(
				'controller' => 'entrepot',
				'action'     => 'edit',
				'entrepotId' => $entry->get_id(),
				),
				'default',
				true) ?>">编辑
			</a>
			&nbsp;|&nbsp;
			<a href="<?php echo $this->url(
				array(
				'controller' => 'entrepot',
				'action'     => 'delete',
				'entrepotId' => $entry->get_id(),
				),
				'default',
				true) ?>">删除
			</a>
		</td>
		</tr>
	<?php endforeach ?>
</table>

